package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.math.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-28
 */
@ApiModel(value = "科室")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("DEPT")
public class Dept implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty(value = "编码")
    @ExcelProperty(value = "CODE")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "名称")
    @ExcelProperty(value = "NAME")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "排序")
    @ExcelProperty(value = "ORDER_ID")
    @TableField("ORDER_ID")
    private BigDecimal orderId;

    @ApiModelProperty(value = "父ID")
    @ExcelProperty(value = "PARENT_ID")
    @TableField("PARENT_ID")
    private String parentId;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "NOTES")
    @TableField("NOTES")
    private String notes;

    @ApiModelProperty(value = "删除 0:未删除 1:已删除")
    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
    private String deleteFlag;

}
